/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.partyassessmentinfo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.common.persistence.Page;
import com.fosung.frame.common.service.CrudService;
import com.fosung.frame.modules.partyassessmentinfo.entity.PartyAssessmentInfo;
import com.fosung.frame.modules.partyassessmentinfo.dao.PartyAssessmentInfoDao;

/**
 * 党组织考核信息Service
 * @author wu
 * @version 2017-08-30
 */
@Service
@Transactional(readOnly = true)
public class PartyAssessmentInfoService extends CrudService<PartyAssessmentInfoDao, PartyAssessmentInfo> {

	public PartyAssessmentInfo get(String id) {
		return super.get(id);
	}
	
	public List<PartyAssessmentInfo> findList(PartyAssessmentInfo partyAssessmentInfo) {
		return super.findList(partyAssessmentInfo);
	}
	
	public Page<PartyAssessmentInfo> findPage(Page<PartyAssessmentInfo> page, PartyAssessmentInfo partyAssessmentInfo) {
		return super.findPage(page, partyAssessmentInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(PartyAssessmentInfo partyAssessmentInfo) {
		super.save(partyAssessmentInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(PartyAssessmentInfo partyAssessmentInfo) {
		super.delete(partyAssessmentInfo);
	}

	public List<PartyAssessmentInfo> queryPartyAssessmentInfo(PartyAssessmentInfo partyAssessmentInfo) {
		return dao.queryPartyAssessmentInfo(partyAssessmentInfo);
	}
	
}